/**

This file is part of MaCI/GIMnet.

MaCI/GIMnet is free software: you can redistribute it and/or modify it 
under the terms of the GNU Lesser General Public License as published 
by the Free Software Foundation, either version 3 of the License, or 
(at your option) any later version.

MaCI/GIMnet is distributed in the hope that it will be useful, but WITHOUT 
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public 
License for more details.

You should have received a copy of the GNU Lesser General Public 
License along with GIMnet. (See COPYING.LESSER) If not, see 
<http://www.gnu.org/licenses/>.

**/
/*
*  \class	TCoord3D
*  \author 	Jari Saarinen
*  \date 	Tue Aug 01 14:37:45 2006

*  \version: 	0.1  
*/


#include "TCoord3D.h"




TCoord3D::TCoord3D()
{
	this->x=0;
	this->y=0;
	this->z=0;

}

TCoord3D::TCoord3D(float x, float y, float z){
	this->x=x;
	this->y=y;
	this->z=z;

}

TCoord3D::~TCoord3D()
{
	
}

void TCoord3D::setValues(float x, float y, float z){
	this->x=x;
	this->y=y;
	this->z=z;	
}
void TCoord3D::setX(float x){
	this->x=x;
}
void TCoord3D::setY(float y){
	this->y=y;
}

void TCoord3D::setZ(float z){
	this->z=z;	
}


float TCoord3D::getX(){
	return this->x;
}
float TCoord3D::getY(){
	return this->y;
}

float TCoord3D::getZ(){
	return this->z;
}
